const PI = 3.1415;
// PI // 3.1415
// PI = 3;
// TypeError: Assignment to constant variable.
var tmp = 123
if (true) {
  tmp = 'abc' 
  // const tmp;//SyntaxError: Missing initializer in const declaration
}